<form id="form" class="container-fluid" action="{$submit_url}">
    <div class="form-group">
        <label class="control-label">姓名</label>
        <input class="input" name="name" value="{$info.name}">
    </div>
    <div class="form-group">
        <label class="control-label">电话</label>
        <input class="input" name="phone" value="{$info.phone}">
    </div>
    <div class="form-group">
        <label class="control-label">邮箱</label>
        <input class="input" name="email" value="{$info.email}">
    </div>
    <div class="form-group">
        <label class="control-label">参赛组别</label>
        <select class="input" name="group">
            {foreach $group_list as $item}
            <option value="{$item.title}" {$item.title == $info.group?'selected':''}>{$item.title}</option>
            {/foreach}
        </select>
    </div>
    <div class="form-group">
        <label class="control-label">是否有执业资格</label><br>
        <div class="btn-group" data-toggle="buttons">
            <label class="btn {$info.has_per==1?'active':''}">
                <input type="radio" {$info.has_per==1?'checked':''} name="has_per" value="1"> 有
            </label>
            <label class="btn {$info.has_per==0?'active':''}">
                <input type="radio" {$info.has_per==0?'checked':''} name="has_per" value="0"> 没有
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label">岗位职称</label>
        <input class="input" name="work_name" value="{$info.work_name}">
    </div>
    <div class="form-group">
        <label class="control-label">就职医院</label>
        <input class="input" name="hospital" value="{$info.hospital}">
    </div>
    <div class="form-group">
        <label class="control-label">省份</label>
        <input class="input" name="province" value="{$info.province}">
    </div>
    <div class="form-group">
        <label class="control-label">城市</label>
        <input class="input" name="city" value="{$info.city}">
    </div>
    <div class="form-group">
        <input type="hidden" name="id" value="{$info.id}">
       <input type="submit" class="btn btn-primary" value="提交">
    </div>
</form>
<script>
    $("#form").on("submit",function (e)
	{
        e.preventDefault();
        Admin.ajaxForm($(this));
	});
</script>